package com.yang.po;

import java.util.Date;

/**
 * @Description: 数据库映射实体类
 * @author: Yang Qiang
 * @create: 2021-11-09 21:19
 */
public class Orders {

    private Integer id;
    private Integer amount;
    private Integer user_id;
    private Date create_time;
    private Date update_time;


    public Orders() {
    }

    public Orders(Integer id, Integer amount, Integer user_id, Date create_time, Date update_time) {
        this.id = id;
        this.amount = amount;
        this.user_id = user_id;
        this.create_time = create_time;
        this.update_time = update_time;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "id=" + id +
                ", amount=" + amount +
                ", user_id=" + user_id +
                ", create_time=" + create_time +
                ", update_time=" + update_time +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }
}
